/**
 * Created by Ysssssss on 20/4/9.
 */

export const exchangeFormDataToFields = (formData) => {
    let fields = []
    for (let key in formData) {
        fields.push({
            name: key,
            value: formData[key]
        })
    }
    return fields
}